import request from '@/utils/request'

// 查询检查项目列表
export function listExam_project(query) {
  return request({
    url: '/system/exam_project/list',
    method: 'get',
    params: query
  })
}

// 查询检查项目详细
export function getExam_project(id) {
  return request({
    url: '/system/exam_project/' + id,
    method: 'get'
  })
}

// 新增检查项目
export function addExam_project(data) {
  return request({
    url: '/system/exam_project',
    method: 'post',
    data: data
  })
}

// 修改检查项目
export function updateExam_project(data) {
  return request({
    url: '/system/exam_project',
    method: 'put',
    data: data
  })
}

// 删除检查项目
export function delExam_project(id) {
  return request({
    url: '/system/exam_project/' + id,
    method: 'delete'
  })
}
